package edu.qichen.onlineBlog.likes.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.qichen.onlineBlog.blogs.dto.BlogUserPageDto;
import edu.qichen.onlineBlog.likes.dto.LikesBlogsUserPageDto;
import edu.qichen.onlineBlog.likes.pojo.Likes;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LikesMapper extends BaseMapper<Likes> {
    List<LikesBlogsUserPageDto> selectMapsPage(IPage<LikesBlogsUserPageDto> page, QueryWrapper<BlogUserPageDto> wrapper, long id);
}
